﻿#region

using Vin.Extension.Framework.Interface;
using Vin.Extension.Framework.Login.Dto.Entities;
using Vin.Extension.Framework.Login.Dto.List;
using Vin.Extension.Framework.Login.Entities;

#endregion

namespace Vin.Extension.Framework.Login.ServiceInterface;

public interface ISysAccountBindService : IVinFrameworkBaseServiceAsync<SysAccountBindDto, SysAccountBindListDto>
{
    public Task<long?> QueryAccountIdByBindAsync(string bindType, string bindValue);

    public Task BindAsync(long accountId, string bindType, string bindValue, SysAccountBindInfo bindInfo);
    
    public Task UnBindAsync(long accountId, string bindType);
}